package com.ifp.opengate.boot.bean;

import java.io.Serializable;

/**
 * @description:检验结果信息
 * @author: yangquan
 * @create: 2020-03-14
 */

public class ValidateEntity implements Serializable {
    private static final long serialVersionUID = -1865625040587321805L;
    private String errorCode;
    private String errorMsg;
    private Object fieldValue;
    private String fieldName;

    public ValidateEntity(String errorCode, String errorMsg, Object fieldValue, String fieldName) {
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
        this.fieldValue = fieldValue;
        this.fieldName = fieldName;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public Object getFieldValue() {
        return fieldValue;
    }

    public void setFieldValue(Object fieldValue) {
        this.fieldValue = fieldValue;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }
}